Skip to content

Added support for common.time and other rippling usages#554

Draft
njgrisafi wants to merge 2 commits intoadamchainz:mainfrom
njgrisafi:rippling-custom
Draft

Added support for common.time and other rippling usages#554
njgrisafi wants to merge 2 commits intoadamchainz:mainfrom
njgrisafi:rippling-custom

Conversation

@njgrisafi
Copy link

Example of modifying CLI for rippling use cases.

Does the following:

  • Added support for common.time wrapper
  • Ignore kwargs like tz and auto_tick_seconds
  • Allow more nested type of imports
                      if len(node.names) == 1:
                          ret[ast_start_offset(node)].append(
                              partial(replace_import_from, node=node)
                          )
                      else:
                          ret[ast_start_offset(node)].append(
                              partial(replace_import_from_multi, node=node)
                          )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant